package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;

import java.io.Serializable;
import java.util.Date;


/**
 * 积分签到实体
 * 表名 point_sign
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Nov 12 16:21:48 CST 2019
 */
@Setter
@Getter
public class PointSignEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //用户ID
    private Long userId;
    //冗余用户编号
    private String code;
    //冗余用户名
    private String name;
    //签到总数
    private Integer sumCount;
    //签到数
    private Integer count;
    //最近签到时间
    private Date time;
    //起止时间
    Date[] times;

    public PointSignEntity() {

    }

    public PointSignEntity(Long userId, String code, String name, Integer sumCount, Integer count, Date time) {
        this.userId = userId;
        this.code = code;
        this.name = name;
        this.sumCount = sumCount;
        this.count = count;
        this.time = time;
    }
}
